package com.songshuai.webapi.jobapi.dao.crmbase;

import com.songshuai.webapi.jobapi.model.crmbase.TpoTeacherInfo;
import com.songshuai.webapi.jobapi.model.crmbase.TpoTeacherInfoWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TpoTeacherInfoMapper {

    /**
     * 获取老师by老师天王星id
     * @param ids
     * @return
     */
    List<TpoTeacherInfoWithBLOBs> selectByTwxIds(@Param("ids") List<Integer> ids);

    /**
     * 获取老师by老师ids
     * @param ids
     * @return
     */
    List<TpoTeacherInfoWithBLOBs> selectByIds(@Param("ids") List<Integer> ids);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tpo_teacher_info
     *
     * @mbggenerated Thu Sep 06 15:45:32 CST 2018
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tpo_teacher_info
     *
     * @mbggenerated Thu Sep 06 15:45:32 CST 2018
     */
    int insert(TpoTeacherInfoWithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tpo_teacher_info
     *
     * @mbggenerated Thu Sep 06 15:45:32 CST 2018
     */
    int insertSelective(TpoTeacherInfoWithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tpo_teacher_info
     *
     * @mbggenerated Thu Sep 06 15:45:32 CST 2018
     */
    TpoTeacherInfoWithBLOBs selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tpo_teacher_info
     *
     * @mbggenerated Thu Sep 06 15:45:32 CST 2018
     */
    int updateByPrimaryKeySelective(TpoTeacherInfoWithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tpo_teacher_info
     *
     * @mbggenerated Thu Sep 06 15:45:32 CST 2018
     */
    int updateByPrimaryKeyWithBLOBs(TpoTeacherInfoWithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tpo_teacher_info
     *
     * @mbggenerated Thu Sep 06 15:45:32 CST 2018
     */
    int updateByPrimaryKey(TpoTeacherInfo record);
}